<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<head>
<link rel="stylesheet" type="text/css" href="/css/style_fx.css" />
    <title>发现-笔飞美术作品</title>
    <script type="text/javascript" src="/js/jquery-1.4.3.min.js"></script>
       <%@include file="../common/jspcommon.jsp"%>
       <%@include file="../common/css.jsp"%>
       <script type="text/javascript" src="/js/page/pager.js"></script>
</head>
<body>
<div id="box">
    <%@include file="../common/header.jsp" %>
    <div id="main_div">
        <div class="main_div_top3">
            <div class="t_1">评论</div>
        </div>

        <div class="zp_list4">
            <ul>
            	<c:forEach items="${commentModel.list }" var="comment">
	                <li>
	                    <p><a href="#"><img src="${comment.artMember.avatar}" alt=""/> </a>${comment.artMember.nickname}</p>
	                        <p>${comment.content }</p>
	                </li>
                </c:forEach>
            </ul>
        </div>
       		 <div class="page_div" style="width: 960px;">
            	<div id="page" class="h_page"></div>
            </div>
        
        </div>
         <%@include file="../common/footer.jsp" %>	
    </div>
    
    <script type="text/javascript">
	$(function(){
			$("#page").pager({
				pagenumber : "${commentModel.currentPage}",
				pagecount : "${commentModel.totalPage}",
				buttonClickCallback : function(page) {
					location.href = "/cList.htm?page="+ page+"&picId=${picId}";
				}
			});
		});
	</script>
</body>
</html>
